package com.desaysv.svview.refresh

import android.content.Context
import android.util.AttributeSet
import android.widget.FrameLayout

abstract class BaseRefreshFoot @JvmOverloads constructor(
    context: Context,
    attributeSet: AttributeSet? = null,
    defStyleAttr: Int = 0
) : FrameLayout(context, attributeSet, defStyleAttr){
    abstract fun startLoading()
    abstract fun stopLoading(listener: StopLoadingListener)
    abstract fun headerTouch(move: Float,orientation:Int)

    interface StopLoadingListener{
        fun stopComplete()
    }
}